package com.mallcloud.mall.product.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "BrandModel", description = "品牌信息")
@Data
@TableName(value = "P_BRAND", autoResultMap = true)
public class BrandModel extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "brandId")
    private Long brandId;

    @ApiModelProperty(value = "楼层Id")
    private Long floorId;

    @ApiModelProperty(value = "品牌名称")
    private String name;

    @ApiModelProperty(value = "品牌描述")
    private String description;

    @ApiModelProperty(value = "门牌号")
    private String addrNumber;

    @ApiModelProperty(value = "品牌logo图片")
    private String imgUrl;

    @ApiModelProperty(value = "检索首字母")
    private String firstLetter;

    @ApiModelProperty(value = "排序")
    private Integer sortOrder;

    @ApiModelProperty(value = "状态 1:enable, 0:disable")
    private Boolean status;
}
